const Koa = require('koa')
const app = new Koa();
const bodyParser = require('koa-bodyparser')
app.use(bodyParser())
const Router = require('koa-router')
const router = new Router();
app.use((ctx,next)=>{
    ctx.body = 'hello world'
})
app.listen(8080,()=>{
    console.log(`run as http://localhost:8080`)
})
